package com.marmot.cloud.framework.core.pager;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "排序字段模型")
public class Order {
    @Schema(description = "分页查询时的排序属性字段")
    private String property;
    @Schema(description = "分页查询时的排序方向 asc正序|desc倒序")
    private String direction;

}
